package com.swagger.demo.service.impl;

import com.swagger.demo.domain.Orders;
import com.swagger.demo.mapper.OrdersMapper;
import com.swagger.demo.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * creat by
 *
 * @author heyang
 * @date 2020/8/18 20:30
 */
@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    private OrdersMapper ordersMapper;

    @Override
    public List<Orders> selectAll() {

        return ordersMapper.selectAll();
    }
}
